# vPresent is an immersive presentation creation and display application.
# Copyright (C) 2007 by Infiscape Corporation
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

# -*- coding: utf-8 -*-

#      by: PyQt4 UI code generator 4.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ImageRefEditBase(object):
   def setupUi(self, ImageRefEditBase):
      ImageRefEditBase.setObjectName("ImageRefEditBase")
      ImageRefEditBase.resize(QtCore.QSize(QtCore.QRect(0,0,360,285).size()).expandedTo(ImageRefEditBase.minimumSizeHint()))

      self.gridlayout = QtGui.QGridLayout(ImageRefEditBase)
      self.gridlayout.setObjectName("gridlayout")

      self.mMirrorLbl = QtGui.QLabel(ImageRefEditBase)
      self.mMirrorLbl.setObjectName("mMirrorLbl")
      self.gridlayout.addWidget(self.mMirrorLbl,0,0,1,1)

      self.mFlipHor = QtGui.QCheckBox(ImageRefEditBase)

      sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
      sizePolicy.setHorizontalStretch(0)
      sizePolicy.setVerticalStretch(0)
      sizePolicy.setHeightForWidth(self.mFlipHor.sizePolicy().hasHeightForWidth())
      self.mFlipHor.setSizePolicy(sizePolicy)
      self.mFlipHor.setObjectName("mFlipHor")
      self.gridlayout.addWidget(self.mFlipHor,0,1,1,1)

      self.mFlipVert = QtGui.QCheckBox(ImageRefEditBase)

      sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
      sizePolicy.setHorizontalStretch(0)
      sizePolicy.setVerticalStretch(0)
      sizePolicy.setHeightForWidth(self.mFlipVert.sizePolicy().hasHeightForWidth())
      self.mFlipVert.setSizePolicy(sizePolicy)
      self.mFlipVert.setObjectName("mFlipVert")
      self.gridlayout.addWidget(self.mFlipVert,0,2,1,1)

      spacerItem = QtGui.QSpacerItem(131,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
      self.gridlayout.addItem(spacerItem,0,3,1,2)

      self.mTextureView = QtGui.QListView(ImageRefEditBase)
      self.mTextureView.setIconSize(QtCore.QSize(64,64))
      self.mTextureView.setFlow(QtGui.QListView.LeftToRight)
      self.mTextureView.setWrapping(True)
      self.mTextureView.setResizeMode(QtGui.QListView.Adjust)
      self.mTextureView.setGridSize(QtCore.QSize(70,70))
      self.mTextureView.setUniformItemSizes(True)
      self.mTextureView.setObjectName("mTextureView")
      self.gridlayout.addWidget(self.mTextureView,1,0,2,4)

      self.mAddTexture = QtGui.QToolButton(ImageRefEditBase)
      self.mAddTexture.setIcon(QtGui.QIcon(":/vpresent/gui/images/filenew32.png"))
      self.mAddTexture.setObjectName("mAddTexture")
      self.gridlayout.addWidget(self.mAddTexture,1,4,1,1)

      spacerItem1 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
      self.gridlayout.addItem(spacerItem1,2,4,1,1)

      self.mButtonBox = QtGui.QDialogButtonBox(ImageRefEditBase)
      self.mButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
      self.mButtonBox.setObjectName("mButtonBox")
      self.gridlayout.addWidget(self.mButtonBox,3,0,1,5)

      self.retranslateUi(ImageRefEditBase)
      QtCore.QObject.connect(self.mButtonBox,QtCore.SIGNAL("accepted()"),ImageRefEditBase.accept)
      QtCore.QObject.connect(self.mButtonBox,QtCore.SIGNAL("rejected()"),ImageRefEditBase.reject)
      QtCore.QMetaObject.connectSlotsByName(ImageRefEditBase)

   def retranslateUi(self, ImageRefEditBase):
      ImageRefEditBase.setWindowTitle(QtGui.QApplication.translate("ImageRefEditBase", "Image Ref Edit", None, QtGui.QApplication.UnicodeUTF8))
      self.mMirrorLbl.setText(QtGui.QApplication.translate("ImageRefEditBase", "Mirror:", None, QtGui.QApplication.UnicodeUTF8))
      self.mFlipHor.setText(QtGui.QApplication.translate("ImageRefEditBase", "Horizontal", None, QtGui.QApplication.UnicodeUTF8))
      self.mFlipVert.setText(QtGui.QApplication.translate("ImageRefEditBase", "Vertical", None, QtGui.QApplication.UnicodeUTF8))
      self.mAddTexture.setText(QtGui.QApplication.translate("ImageRefEditBase", "...", None, QtGui.QApplication.UnicodeUTF8))

import vpresent_rc


if __name__ == "__main__":
   import sys
   app = QtGui.QApplication(sys.argv)
   ImageRefEditBase = QtGui.QDialog()
   ui = Ui_ImageRefEditBase()
   ui.setupUi(ImageRefEditBase)
   ImageRefEditBase.show()
   sys.exit(app.exec_())
